<?php
namespace catchAdmin\basics\request;

use catchAdmin\basics\model\Port;
use catcher\base\CatchRequest;

class CreateRequest extends CatchRequest
{

    protected function rules(): array
    {
        // TODO: Implement rules() method.
        return [
            'port_num|港口代码' => 'require|unique:'.Port::class,
        ];
    }

    protected function message()
    {
        // TODO: Implement message() method.
    }
}